home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / tan.z / tan
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  81 lines

  1. TAN(3I)                                               Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      TTAANN, DDTTAANN, QQTTAANN, TTAANNDD, DDTTAANNDD, QQTTAANNDD - Computes tangent
  6.  
  7. SSYYNNOOPPSSIISS
  8.      TTAANN (([XX==]_x))
  9.      DDTTAANN (([XX==]_x))
  10.      QQTTAANN (([XX==]_x))
  11.  
  12.      TTAANNDD (([XX==]_x))
  13.      DDTTAANNDD (([XX==]_x))
  14.      QQTTAANNDD (([XX==]_x))
  15.  
  16. IIMMPPLLEEMMEENNTTAATTIIOONN
  17.      UNICOS, UNICOS/mk, IRIX systems
  18.  
  19.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  20.  
  21. SSTTAANNDDAARRDDSS
  22.      Fortran
  23.  
  24.      Fortran extension:  QQTTAANN, TTAANNDD, DDTTAANNDD, QQTTAANNDD
  25.  
  26. DDEESSCCRRIIPPTTIIOONN
  27.      These functions evaluate _y = tan(_x).  They are elemental intrinsic
  28.      functions.  They accept the following argument:
  29.  
  30.      _x         Must be of type real.  For TTAANN, DDTTAANN, and QQTTAANN, _x must be
  31.                specified in radians and is treated as modulo 2 * pi.  For
  32.                TTAANNDD, DDTTAANNDD, and QQTTAANNDD, _x must be specified in degrees and
  33.                is treated as modulo 360.
  34.  
  35.      TTAANN and TTAANNDD are generic function names; the rest are specifics.
  36.  
  37.      A vector version of the single-precision and double-precision TTAANN
  38.      intrinsic exists on IRIX systems and is used when --OO33 is specified on
  39.      the compiler command line.
  40.  
  41. NNOOTTEESS
  42.      The TTAANN and DDTTAANN intrinsic function names can be passed as arguments;
  43.      the others cannot.
  44.  
  45.      On UNICOS and UNICOS/mk systems, the following return values occur:
  46.  
  47.      * On systems that support the IEEE standard for floating-point
  48.        arithmetic,                 25
  49.        TTAANN((_x)) = NaN if |_x| > pi * 2
  50.  
  51.      * On systems that do not support the IEEE standard for floating-point
  52.        arithmetic,               25
  53.        TTAANN((_x)) = 0 if |_x| > pi * 2
  54.  
  55.      On IRIX systems, the following return value occurs:
  56.                                       19
  57.           TTAANN((_x)) = NaN if |_x| > pi * 2
  58.  
  59.      On all systems that support the IEEE standard for floating-point
  60.      arithmetic, the following is true:
  61.  
  62.           TTAANN((NaN)) = NaN
  63.  
  64. RREETTUURRNN VVAALLUUEESS
  65.      TTAANN and TTAANNDD return the real tangent of their real argument.
  66.  
  67.      DDTTAANN and DDTTAANNDD return the double-precision real tangent of their
  68.      double-precision real argument.
  69.  
  70.      QQTTAANN and QQTTAANNDD return the quad-precision real tangent of their
  71.      quad-precision real argument.
  72.  
  73.      The data type and kind type for single-precision, double-precision,
  74.      and quad-precision values differ depending on your platform.  For
  75.      platform-specific information, see the TERMINOLOGY section of the
  76.      IINNTTRROO__IINNTTRRIINN(3I) man page.
  77.  
  78. SSEEEE AALLSSOO
  79.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  80.      man page.
  81.